package com.web.music.model;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.OneToOne;

@Entity
@DiscriminatorValue("SINGER")
public class Singer extends Artist {

	private String name;
	
	private String singerAttribute;
	
	@OneToOne
	private Person person = null;

	public String getName(){
		return name;
	}

	public String getSingerAttribute(){
		return singerAttribute;
	}

	public void setSingerAttribute(String singerAttribute ){
		this.singerAttribute = singerAttribute;
	}

	public void setName(String name ){
		this.name = name;
	}

	public Person getPerson() {
		return person;
	}

	public void setPerson(Person person) {
		this.person = person;
	}

}
